package com.phantasy.scene.tile.gameAstar
{
	import com.phantasy.scene.tile.Pt;

	public class Node
	{
		public var x:int;
		public var y:int;
		public var pt:Pt;
		public var f:Number;
		public var g:Number;
		public var h:Number;
		public var walkable:Boolean = true;
		public var parent:Node;
		public var version:int = 1;
		public var links:Array;
		public var initLink:Boolean = false;
		
		public function Node(_arg1:int, _arg2:int)
		{
			this.x = _arg1;
			this.y = _arg2;
			this.pt = new Pt(_arg1, 0, _arg2);
		}

	}
}